<?
/*-- Project Introduce --*/



abstract class JCAT_FSPackageElement
{

	/**
	 * Description
	 *
	 * @access	public
	 * @param	$aXMLDoc		SimpleXMLElement
	 * @return	void
	 */
	abstract public function LoadFromXMLDoc(SimpleXMLElement $aXMLDoc) ;

	/**
	 * Description
	 *
	 * @access	public
	 * @return	string
	 */
	abstract public function MakeXML() ;
	
	/**
	 * Description
	 *
	 * @access	public
	 * @param	$sToFolder
	 * @param	$hPackage										handle
	 * @param	$nReleaseFlg=JCAT_FSPackage::RELEASE_DEFAULT	int
	 * @return	void
	 */
	abstract public function Release($sToFolder,$hPackage,$nOffset,$nReleaseFlg=JCAT_FSPackage::RELEASE_DEFAULT)  ;
	
	/**
	 * Description
	 *
	 * @access	public
	 * @return	string
	 */
	public function SetName($sFilename)
	{
		$this->sFilename = $sFilename ;
	}
	
	/**
	 * Description
	 *
	 * @access	public
	 * @return	string
	 */
	public function GetName()
	{
		return $this->sFilename ;
	}

	
	/**
	 * Description
	 *
	 * @access	public
	 * @param 	$sPath
	 * @return	void
	 */
	public function SetPath($sPath)
	{
		$this->sPath = $sPath ;
	}

	/**
	 * Description
	 *
	 * @access	public
	 * @return	string
	 */
	public function GetPath()
	{
		return $this->sPath ;
	}
	
	
	
	/**
	 * Description
	 * 
	 * @access	private
	 * @var		string
	 */
	private $sPath = '' ;
	
	/**
	 * Description
	 * 
	 * @access	private
	 * @var		string
	 */
	private $sFilename = '' ;
	
}

?>